package businessLogic.stragety;

import data.ListInterIterator;

public class StragetConnector {

	private StragetyController controller=new StragetyController();

	@SuppressWarnings("rawtypes")
	public ListInterIterator search(int type,String key,String message){
		return controller.search(type,key,message);
	}
	
	public String add(int type,String stragetyID,String goodsOrTotal,
                        String barginOrGift,String start,String end){

		return controller.add(type,stragetyID, goodsOrTotal, barginOrGift, start, end);
	}

	
	public String modify(int type,String stragetyID,String goodsOrTotal,
            String barginOrGift,String start,String end){

		return controller.modify(type,stragetyID, goodsOrTotal, barginOrGift,start, end);
	}
	
	public String delete(int type,String stragetyID){

		return controller.delete(type,stragetyID);
	}

	
}
